package com.bupt.fmmall.service;


import com.bupt.fmmall.entity.ProductType;

import java.util.List;

public interface ProductTypeService {

    //添加商品种类
    public boolean add_ProductType(ProductType p);

    //修改商品种类的名称
    public boolean modify_ProductType_ById(Integer id);

    //删除某个种类
    public boolean delete_ProductType(Integer id);

    //根据id获取商品种类
    public ProductType getById(Integer id);

    //返回所有商品种类
    public List<ProductType> getAllProductType();

}